Skip to content

renol - Technical Training#1170

Open
renol-odoo wants to merge 10 commits intoodoo:19.0from
odoo-dev:19.0-server101-renol
Open

renol - Technical Training#1170
renol-odoo wants to merge 10 commits intoodoo:19.0from
odoo-dev:19.0-server101-renol

Conversation

@renol-odoo
Copy link

Hi, first commit here!

@robodoo
Copy link

robodoo commented Feb 16, 2026

Pull request status dashboard

@blse-odoo blse-odoo assigned blse-odoo and unassigned blse-odoo Feb 16, 2026
Copy link

@blse-odoo blse-odoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is a good start, congrats on your first PR!
I noticed you used very short commit messages, did you have a look at the git guidelines? Just to get familiar with the process, I think would be better to try to follow them a bit

- Deleting module 'chapter1_firstmodule'
- Moving module 'chapter2_estate' to 'estate' as it will be used through all chapters
Fixing `estate_property_action` id error on module installation due to wrong order in `__manifest__.py`
Add/customize the following wiews :
- property list
- property search
- property form
'active' and 'garden_orientation' fields were not creating in the DB due to comma at end of line
Implementing new property related models :
- Property type: M2O
- Property tags: M2M
- Property offers: O2M
],
copy=False,
)
partener_id = fields.Many2one("res.partner", string="Buyer", required=True)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a typo here: partener_id should be partner_id ;)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Corrected in 3901535

name = fields.Char(required=True)
description = fields.Text()
postcode = fields.Char()
date_availability = fields.Date(copy=False, default=date.today()+relativedelta(months=3))

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you check if this default value is 3 month after the record creation, or 3 month after the model is loaded on startup?

- Property total area auto computed
- Best offer selection
- Offer validity & date auto update
- Property garden onchange pre-filling
- `partener_id` typo fix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants